package com.cily.utils.t_webrtc.singlr.pad;

import android.os.Bundle;
import android.view.View;

import com.cily.utils.app.event.Event;
import com.cily.utils.log.L;
import com.cily.utils.t_webrtc.BaseAc3;
import com.cily.utils.t_webrtc.R;
import com.cily.utils.t_webrtc.singlr.Services.SignalRService;

import microsoft.aspnet.signalr.client.Connection;

public class IndexActivity extends BaseAc3 {

    @Override
    protected void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.activity_index);
        findImg(R.id.img_call_unit_btn).setOnClickListener(new View.OnClickListener() {
            @Override
            public void onClick(View v) {
                toAc(SelectResidentActivity.class, null);
            }
        });

        findImg(R.id.img_call_unit_cn).setOnClickListener(new View.OnClickListener() {
            @Override
            public void onClick(View v) {
                toAc(SelectResidentActivity.class, null);
            }
        });

        Connection connection = SignalRService.mConnection;

        String connectionId = connection.getConnectionId();
    }

    @Override
    protected void onStart() {
        super.onStart();
    }

    @Override
    protected void onStop() {
        super.onStop();
    }

    @Override
    protected void onDestroy() {
        super.onDestroy();
    }

    @Override
    public void doEvent(Event e) {
        L.i(TAG, "收到event事件");


    }

}
